package com.newtouch.fileupload.model;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("文件上传模型")
public class FileReq {

    //文件md5
    private String md5;

    //追溯号,唯一标识
    private String traceNo;

//    private String date;

    private String name;

    private String size;

    private String total;

    //分片编号
    private String index;

    //check:校验分片是否上传过; upload:直接上传分片
    private String action;

    //分片的md5
    private String partMd5;

}
